<template>

    <a-table :columns="columns" :dataSource="dataSource" bordered />
</template>
<script setup>

const columns = [
    { title: '序号', dataIndex: 'id', key: 'id' },
    { title: '商品编号', dataIndex: 'productCode', key: 'productCode' },
    { title: '商品名称', dataIndex: 'productName', key: 'productName' },
    { title: '单位', dataIndex: 'unit', key: 'unit' },
    { title: '规格型号', dataIndex: 'specificationModel', key: 'specificationModel' },
    { title: '价格(元)', dataIndex: 'price', key: 'price' },
    {
        title: '领料出库数量(件)', dataIndex: 'quantityIssueMaterialWarehouseOutbound',
        key: 'quantityIssueMaterialWarehouseOutbound'
    },
    // 税率
    {
        title: "税率",
        align: "center",
    },
    // 含税金额
    {
        title: "含税金额(元)",
        align: "center",
    },
    // 不含税金额
    {
        title: "不含税金额(元)",
        align: "center",
    },
    {
        title: "备注",
        dataIndex: "remark"
    }
]
</script>